package com.zy.bean.vo;

import com.zy.bean.po.VersionList;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hanhuafeng
 * @version V1.0
 * @description
 * @date 2023/7/19
 */
@Data
@NoArgsConstructor
public class VersionVo {
    public VersionVo(VersionList versionList) {
        this.name = versionList.getName();
        this.code = versionList.getCode();
        this.introduce = versionList.getIntroduce();
        this.initParam = versionList.getInitParam();
    }

    /**
     * 版本名称
     */
    private String name;

    /**
     * 版本编号
     */
    private String code;

    /**
     * 版本介绍
     */
    private String introduce;

    /**
     * 规则初始化参数
     */
    private String initParam;
}
